package com.tanhua.server.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tanhua.common.mapper.QuestionnaireMapper;
import com.tanhua.common.pojo.User;
import com.tanhua.common.utils.UserThreadLocal;
import com.tanhua.server.vo.QuestionListVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestSoulService {
    @Autowired
    private QuestionnaireMapper questionnaireMapper;

    public List<QuestionListVo> queryQuestionnaireList() {
        User user = UserThreadLocal.get();
        QueryWrapper<QuestionListVo> queryWrapper = new QueryWrapper<>();
        queryWrapper.eq("id",user.getId());
        //return this.questionnaireMapper.selectList(queryWrapper);
        return null;
    }


}
